composition of continuous functions